package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.OrderDetail;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单报名信息 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IOrderDetailService extends IService<OrderDetail> {

    boolean addOrderApply(Integer yearPart, Integer quarterNum, Long schoolId, Long subjectsId, Integer lessonType, Long studentId);

    boolean updateResidueCourse(Integer yearPart, Integer quarterNum, Long schoolId, Long subjectsId, Integer lessonType, Long studentId);

    OrderDetail getCourseHouseAndPrice(Integer yearPart,
                                       Integer quarterNum,
                                       Long schoolId,
                                       Long subjectsId,
                                       Integer lessonType,
                                       Long studentId);
}
